package com.dy.design_pattern_study.mediator_pattern.dome1;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-23
 * @Content 抽象同事类
 */
public abstract class Colleague {
    protected Mediator mediator;

    //得到中介者对象
    public Colleague(Mediator mediator) {
        this.mediator = mediator;
    }
}
